package com.art.coconut.annotation;

import com.art.coconut.compare.BaseComparator;
import com.art.coconut.compare.Comparator;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.FIELD})
public @interface PropertyComparator {
    Class<? extends Comparator> value() default BaseComparator.class;
}
